<div class="layui-card-header SearchTable">
    测试代码：<span id="detail_name_str" class="color_green">测试</span>
</div>
<div class="layui-card-body">
<pre class="layui-code" lay-title="测试" lay-height="" lay-skin="" lay-encode="" about="false">

    /**
     * 图片上传接口
     */
    @Roles(roles = "login")
    public void UploadImages() {
        renderJson(UpImage.n().upload(getRequest(), "share", true, true));
    }

    /**
     * 视频上传接口
     */
    @Roles(roles = "login")
    public void UploadVideo() {
        renderJson(UpImage.n().upload(getRequest(), "video", true, true));
    }
</pre>

</div>